{% extends "api/base.html" %} {% load static %} {% block ext_header %}
<style>
    * {
        font-family: FangSong !important;
    }
</style>
{% endblock %} {% block bodyclass %}text-content-wapper{% endblock %}{% block body_header %} {% endblock %} {% block content %}

<div class="container text-center">
    {% if object.is_redhead %}
    <div class="read-head">
        <h1 class="redhead_title"><strong>{{object.redhead_title}}</strong></h1>
        <h3 class="redhead_no">{{object.redhead_no}}</h3>
    </div>
    <h1>{{object.subject}}</h1>
    {% else %}
    <h1>{{ object.subject }}</h1>
    {% endif %}
    <p><span class="badge badge-primary">阅读{{ object.read_count }}次</span></p>
</div>
<div class="container">
    <div>
        <p><strong>【摘要】</strong></p>
        <p>&nbsp;&nbsp;&nbsp;&nbsp;{{object.summary|safe}}</p>
    </div>
    <div>
        <p><strong>【正文】</strong></p>
        {{object.content|safe}}
    </div>
    <hr class="read-head">
    <p><strong>部门：{{object.department|default:"--"}} </strong></p>
    <p><strong>发布时间：</strong>{{object.publishdate|default:""}}</p>
</div>
{% endblock %}